/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */
package info.peigen.hotpot.component.doc.core.domain;

import info.peigen.hotpot.common.core.domain.DomainObject;
import jakarta.validation.constraints.NotEmpty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * <b>(HotpotDoc)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2024/3/28
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class HotpotDoc extends DomainObject {
    /** 文档标题 */
    @Builder.Default
    String          title = "Hotpot文档";
    /** 文档中Api集合 */
    @NotEmpty
    List<HotpotApi> apis;
}
